<div style="margin-bottom:-10px;">{php $commonAdv = pdo_fetch("SELECT content FROM " . tablename('ewei_shop_adv') . " where enabled=1 and itype=1 and uniacid=5 order by displayorder desc limit 1");}
    {php echo $commonAdv["content"];}</div>
<link rel="stylesheet" href="../addons/feng_limittime/static/swiper/swiper.min.css" />
<style>
    .swiper-container {
        width: 100%;
        height:200px;
    }
    .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
    }
   .swiper-slide a{display:inline;width:100%;height:100%;}
   .swiper-slide a img{width:100%;height:100%;}
</style>
{template 'designer/index'}
<script>
    $(document).ready(function(){
    var html="";
        html +="<div class='swiper-container'>";
        html +="<div class='swiper-wrapper'>";
        html +="<div class='swiper-slide'><a href='http://wx.lanxuevip.com/app/index.php?i=5&c=entry&p=detail&id=345&do=shop&m=ewei_shop'><img src='http://oss-cn-shenzhen.aliyuncs.com/weixin-lanxue/images/5/2016/12/gxaxN7X0S7WCMvr7S7qhVaz7Z7YFS2.jpg'></a></div>";
        html +="<div class='swiper-slide'><a href='http://wx.lanxuevip.com/app/index.php?i=5&c=entry&p=detail&id=359&do=shop&m=ewei_shop'><img src='http://oss-cn-shenzhen.aliyuncs.com/weixin-lanxue/images/5/2016/12/F8NlQ33RdK34wl33JxpFDJ3z4nT3tn.jpg'></a></div>";
        html +="<div class='swiper-slide'><a href='http://wx.lanxuevip.com/app/index.php?i=5&c=entry&p=detail&id=341&do=shop&m=ewei_shop'><img src='http://oss-cn-shenzhen.aliyuncs.com/weixin-lanxue/images/5/2016/12/KOjuEME54bgzz5o8u41JPQ5OtB1Om8.jpg'></a></div>";
        html +="<div class='swiper-slide'><a href='http://wx.lanxuevip.com/app/index.php?i=5&c=entry&p=detail&id=358&do=shop&m=ewei_shop'><img src='http://oss-cn-shenzhen.aliyuncs.com/weixin-lanxue/images/5/2016/12/KOnL8BvZvCgz59mvNlg5L9KG25xgxk.jpg'></a></div>";
        html +="<div class='swiper-slide'><a href='http://wx.lanxuevip.com/app/index.php?i=5&c=entry&p=detail&id=339&do=shop&m=ewei_shop'><img src='http://oss-cn-shenzhen.aliyuncs.com/weixin-lanxue/images/5/2016/12/qr3nddSsr0SqfF4ASlSfslWtSqlsTl.jpg'></a></div></div></div>";
    //$(".fe-mod-repeat").slice(3,4).before(html);
    //$(".fe-mod-repeat").after(html);
   });
</script>
<script>
    $(document).ready(function(){
    var swiper = new Swiper('.swiper-container', {
        pagination: '.swiper-pagination',
        slidesPerView: 3,
        paginationClickable: true,
        spaceBetween:10
    });
    });
</script>